package extend;

public class Main {

	public static void main(String[] args) {
		Class cls = new Class1("qwe");
		System.out.println(cls.str);
		Class cls2 = new Class2();
		System.out.println(cls2.str);
	}
}
